﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entities.ThuQuy;

namespace BLL.ThuQuy
{
    public class QuanLyBaoCao
    {
        public static bool KiemTra(string s, List<BaoCao> ds)
        {
            foreach (var item in ds)
                if (item.MaBaoCao.ToLower().Equals(s.ToLower()))
                    return false;
            return true;

        }
        public static bool KiemTraMaBaoCao(string k)
        {
            if (k.Substring(0, 2).ToUpper() == "Bc" && k.Length == 7)
                return false;
            return true;
        }
    }
}
